import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';

/**
 * Generated class for the ShopinfoPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-shopinfo',
  templateUrl: 'shopinfo.html',
})
export class ShopinfoPage {
  shopinfo:any;
  constructor(public navCtrl: NavController, public navParams: NavParams) {
    this.shopinfo = this.navParams.get("shopinfo");
  }

  ionViewDidLoad() {
    console.log('ionViewDidLoad ShopinfoPage');
  }
  prodDetail(prod){
    this.navCtrl.push("ProddetailPage",{prod:prod});
  }

}
